const express = require('express');
const router = express.Router();
const mcpController = require('../controllers/mcpController');

// MCP连接相关路由
router.post('/connect', mcpController.connect);
router.post('/disconnect', mcpController.disconnect);
router.post('/heartbeat', mcpController.heartbeat);
router.get('/status', mcpController.status);

// 新增服务路由
router.post('/service/data-process', mcpController.dataProcess);
router.post('/service/log', mcpController.logService);
router.post('/service/monitor', mcpController.monitorService);
router.post('/service/notification', mcpController.notificationService);

module.exports = router; 